package com.hotai.vo.courseware;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class CoursewaredetaileShe{
    private  Integer id;
    private  String  img;
    private  String  name;
    private  String  subject;
    private  String   clas;
    private  Integer  status;


    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//存到数据库
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") //从数据库
    private Date createDate;

    private  Integer  capacity;


    private  String   equName;



    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//存到数据库
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm") //从数据库
    private Date wareDate;



    private  Integer  model;

    private  String  equStauts;






}
